<?php
/*
 * True Gallery Overlib Template
 *
 *
 **/

defined('_VALID_MOS') or defined('_JEXEC') or die('Direct Access to this location is not allowed.');

?>
<div class="ovlblock">
	
	<div class="overlibimage">
		<img style="float:left" src="<?php echo $row->src; ?>" alt="<?php $row->imgtitle; ?>" />
	</div>
	
	<div class="imgtitle"><?php echo $row->imgtitle; ?></div>
	
	<div class="overlibinfo">
		<table>
			<tr>
				<td><?php echo JText::_('TG_SIZE'); ?></td>
				<td>: <?php echo $row->width.' X '.$row->height; ?> <?php //echo JText::_('TG_PIXELS') ?></td>
			</tr>
			<tr>
				<td><?php echo JText::_('TG_DATE_ADD'); ?></td>
				<td>: <?php echo strftime( "%d.%m.%y %H:%M", $row->imgdate ) ?> <?php //echo JText::_('TG_PIXELS') ?></td>
			</tr>
			<tr>
				<td><?php echo JText::_('TG_AUTHOR_OWNER') ?></td>
				<td>: <?php echo $row->owner; ?>  <?php //echo JText::_('TG_PIXELS') ?></td>
			</tr>
			<tr>
				<td><?php echo JText::_('TG_ORG_TYPE') ?></td><td>: <?php echo $row->type; ?></td>
			</tr>
			<tr>
				<td><?php echo JText::_('TG_FILESIZE') ?></td>
				<td>: <?php echo format_filesize( $row->filesize ); ?></td>
			</tr>
		</table>
		
		<div class="overdesc"><?php echo $row->imgtext; ?></div>
		
		<div class="overmetstags">
			<?php if( $row->metadesc ) { echo JText::_('TG_META_DESC'); ?>:<div><?php echo $row->metadesc;?></div><?php } ?>
			<?php if( $row->metakey ) { echo JText::_('TG_META_KEYS'); ?>:<div><?php echo $row->metakey;?></div><?php } ?>
		</div>
	</div>
</div>